package com.manage.service.impl;

import com.manage.pojo.FlowerTypes;
import com.manage.mapper.FlowerTypesMapper;
import com.manage.service.FlowerTypesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 晚云
 * @since 2023-09-10
 */
@Service
public class FlowerTypesServiceImpl extends ServiceImpl<FlowerTypesMapper, FlowerTypes> implements FlowerTypesService {

    @Autowired
    private FlowerTypesMapper flowerTypesMapper;
    /**
     * 修改分类
     *
     * @param types
     * @return
     */
    @Override
    public boolean updateId(FlowerTypes types) {
        boolean bool = flowerTypesMapper.updateId(types);
        return bool;
    }
}
